<div id="comments">
  <% @video.video_comments.each do |item| %>
      <p>
        <a href=""><%= item.user.profile.name %></a> <%= item.comment %>
	<br /><span class="created_info"><span id="eow-date" class="watch-video-date"><%= item.created_at.strftime("%B %d, %Y") %></span></span>
      </p>
  <% end %>
</div>

<% if !@user.nil? %>                                      
                                      <!--BEGIN #commnet-->        
					<h2>Leave a Comment</h2>
				
					<div class="cancel-comment-reply">
						<a style="display:none;" href="/deadline/orlando-bloom-engaged/#respond" id="cancel-comment-reply-link" rel="nofollow">Click here to cancel reply.</a>
					</div>
						
					<% form_tag({:controller => "video_comments", :action => "create"}, :id => "commentform", :multipart=>true ) do %>							
								
						
					
								
						<div class="wrap"><div class="textarea-container"><textarea tabindex="4" rows="10" cols="58" id="video_comment_comment" name="video_comment[comment]"></textarea></div></div>
						
						<!-- <p class="allowed-tags"><small><strong>XHTML:</strong> You can use these tags: <code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </code></small></p> -->
					
						<p><input type="submit" value="Submit Comment" tabindex="5" id="submit" name="submit">
						<input type="hidden" id="video_comment_video_id" value="<%= @video.id %>" name="video_comment[video_id]">
						<input type="hidden" value="<%= @user.id %>" id="video_comment_user_id" name="video_comment[user_id]">
			
						</p>
							
					<% end %>
					<!--END #comment-->
<% else %>
  <p>Please <a href="" title="Archives">Sign in</a> to leave comments</p>
<% end %>